package com.example.fittrack.utils;

import java.text.SimpleDateFormat;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.logging.SimpleFormatter;

public class DateUtil {

    public static final SimpleDateFormat formatter = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss");

    public static String currentDate() {
        Date date = new Date();
        return formatter.format(date);
    }

}
